/ Assembly List / LJCNetCommon / NetCommon / BytesToText

Namespace - LJCNetCommon


Parameters
bytes - The byte array.

Returns

The Text value.

Syntax

C#
public static String BytesToText(Byte[] bytes)

Creates text from a byte array. (E)

Example

C#
using LJCNetCommon;
        
// Creates text from a byte array.
private static void BytesToText()
{
  // Setup
  byte[] bytes = NetCommon.TextToBytes("Text");

  // Creates text from a byte array.
  string text = NetCommon.BytesToText(bytes);
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.